<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>多媒体示例</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            background-color: #f4f4f4;
            margin: 0;
            padding: 20px;
        }

        h2 {
            color: #333;
        }

        audio, video {
            display: block;
            margin: 20px auto;
        }

        audio {
            width: 300px;
        }

        video {
            width: 400px;
        }

        audio:hover, video:hover {
            border: 2px solid #333;
        }
    </style>
</head>

<body>
    <h2>音乐播放</h2>
    <audio autoplay controls loop>
        <source src="./music/不要怕.mp3" type="audio/mpeg">
        您的浏览器不支持音频元素。
    </audio>

    <h2>视频播放</h2>
    <video controls>
        <source src="./video/不要怕.mp4" type="video/mp4" />
        您的浏览器不支持视频元素。
    </video>
</body>

</html>
